package com.mstarc.app.mnfc.mstarcApiUtils;


import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
import java.io.IOException;

public class Capfileutil {
	
	String tag = "Fileutil";
	
	public void write_cap_in_apdu(String path) {
	    try {
	    	
	    	File f = new File(path);
	    	
	    	FileInputStream fis = new FileInputStream(f);
	    	
	    	int f_size = fis.available();
	    	
	        BufferedReader bfr = new BufferedReader(new FileReader(f), f_size);
	        String line = bfr.readLine();

	        while (line != null) {

	        	
	        	
	        	
	        	
	            line = bfr.readLine();
	        }
	        bfr.close();

	        //Log.d(tag, "write_cap_in_apdu: " + sb.toString());
	    } catch (IOException e) {
	        e.printStackTrace();
	    }
	}
	
	
	
	
	
	
	
	

}
